package com.snap.vseries.bean;

import java.io.Serializable;

import io.protostuff.Tag;

public class ProgramMeltStage implements Serializable {
    /**
     * 降温速率，0.01°C/s-0.06°C/s
     */
    @Tag(1)
    private int level;
    /**
     *
     */
    @Tag(2)
    private float startTemp;
    @Tag(3)
    private float endTemp;
    /**
     * true 表示执行采光段
     */
    @Tag(4)
    private boolean isOpen;

    public ProgramMeltStage(int level, float startTemp, float endTemp) {
        this.level = level;
        this.startTemp = startTemp;
        this.endTemp = endTemp;
    }

    public ProgramMeltStage() {
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public float getStartTemp() {
        return startTemp;
    }

    public void setStartTemp(float startTemp) {
        this.startTemp = startTemp;
    }

    public float getEndTemp() {
        return endTemp;
    }

    public void setEndTemp(float endTemp) {
        this.endTemp = endTemp;
    }
}
